<template>
	<view class="wrap-top-alert flex align-center just-center f-26">
		{{ title }}
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: "",
			},
		},
	};
</script>

<style lang="scss" scoped>
	.wrap-top-alert {
		position: sticky;
		left: 0;
		top: 0;
		width: 100%;
		background-color: #e3ac38;
		color: white;
		padding: 22rpx;
		box-sizing: border-box;
		z-index: 88;
	}
</style>
